package service;


import javabean.Admin;
import javabean.User;

import java.util.ArrayList;

public interface AdminModuleService {

    boolean createAdmin(String username, String password, String name, String email, String detailed);

    boolean createUser(String username, String password, String name, String email, double money);

    boolean removeAdmin(int id);

    boolean removeUser(int id);

    boolean userResetUserPassword(int uid, String password);

    boolean adminResetPassword(int aid, String password);

    ArrayList<Admin> findAllAdmin();

    Admin findMyAdminByUsername(String username);

    ArrayList<User> findAllUser();
}
